/**
 * @param {string} path
 * @returns {Boolean}
 */
export function isExternal(path: string) {
  return /^(https?:|mailto:|tel:)/.test(path);
}
export function getnum(num) {
    let s = num.toString();
    let result = s.substring(0, s.indexOf(".") + 3)
    return Number(result)
} 